package com.rao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 老师表
 * </p>
 *
 * @author rao3030
 * @since 2021-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 老师姓名
     */
    private String name;

    /**
     * 性别 1:男 ; 0:女
     */
    private Integer sex;

    /**
     * 电话
     */
    private String phone;

    /**
     * 生日: yyyy-MM-dd
     */
    private LocalDateTime birthday;

    /**
     * 地址
     */
    private String address;

    /**
     * qq
     */
    private String qq;

    /**
     * 工龄
     */
    private Double workYear;

    /**
     * 职位
     */
    private String position;

    /**
     * 班主任
     */
    private String headTeacher;


}
